package com.aiiter.house.service;

import com.aiiter.house.domain.HouseContract;

import java.util.List;

/**
 * 房间合同Service接口
 *
 * @author ruoyi
 * @date 2024-09-22
 */
public interface IHouseContractService
{
    /**
     * 查询房间合同
     *
     * @param contractId 房间合同主键
     * @return 房间合同
     */
    public HouseContract selectHouseContractByContractId(Long contractId);

    /**
     * 查询房间合同列表
     *
     * @param houseContract 房间合同
     * @return 房间合同集合
     */
    public List<HouseContract> selectHouseContractList(HouseContract houseContract);

    /**
     * 新增房间合同
     *
     * @param houseContract 房间合同
     * @return 结果
     */
    public int insertHouseContract(HouseContract houseContract);

    /**
     * 修改房间合同
     *
     * @param houseContract 房间合同
     * @return 结果
     */
    public int updateHouseContract(HouseContract houseContract);

    /**
     * 批量删除房间合同
     *
     * @param contractIds 需要删除的房间合同主键集合
     * @return 结果
     */
    public int deleteHouseContractByContractIds(Long[] contractIds);

    /**
     * 删除房间合同信息
     *
     * @param contractId 房间合同主键
     * @return 结果
     */
    public int deleteHouseContractByContractId(Long contractId);
}
